<#assign className = table.className>
<#assign classNameLower = className?uncap_first>
package me.luger.project.${moduleName}.controllers;

import me.luger.core.commom.util.LogUtil;
import me.luger.core.mvc.controller.BaseController;
import me.luger.core.mvc.entity.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.bind.annotation.ResponseBody;

import me.luger.project.${moduleName}.service.${className}Service;
import me.luger.project.${moduleName}.entity.${className};

import java.util.List;

/**
 * ${table.tableAlias} controller
 */
@Controller
@RequestMapping("/api/${moduleName}/${classNameLower}")
public class ${className}ApiController extends BaseController {

    @Autowired
    private ${className}Service ${classNameLower}Service;

    @RequestMapping(value = "",name = "接口描述")
    @ResponseBody
    public Object demo(){
        try{

        }catch (Exception e){
            LogUtil.errorLog(e,"");
            return Result.error();
        }
        return Result.success();
    }
}
